keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about B100/200/400/800 ISDN BRI Cards

Openvox B800P - Error compiling mISDN v2 on kernel 2.6.29.3

14 years 11 months ago #3188 by james.zhu
hello,
I do not which version of mISDN v2 are you using? please check the hfcmulti.h, you missed that(immap_t)!
james.zhu

14 years 11 months ago #3198 by pastoreerrante
Hi James, I downloaded mISDN V2 from here: http://www.colognechip.com/download/mISDN/socket/mISDN.tar.gz

The link is on the misdn.org v2 download page, but the version is not specified.

I checked the hfcmulti.h file and, as you said, it doesn't contain any "immap_t".

Which version of mISDN V2 did you precisely use for the guide "OpenVox B200P User Manual for mISDN(v2)"? do you know where I can download it?

Thank you very much - Daniele
14 years 11 months ago #3200 by james.zhu
yes,i used the same link you downloaded. please download the h file and check again.
james.zhu

Attachments:
14 years 11 months ago #3202 by pastoreerrante
Thank for the prompt reply. I changed the 2.6.29.3 kernel with the 2.6.28.8 version, the same you used for the test.

I replaced the orginal hfc_multi.h file with the one you provide me, but now I receive these errors:

#############################################################################
[trixbox1.localdomain mISDN]# make
echo 1_2_0 > VERSION ; \

export LINUX=/lib/modules/2.6.28.8/build; ./makelib.sh test_old_misdn
cp /usr/src/mISDN/drivers/isdn/hardware/mISDN/Makefile.v2.6 /usr/src/mISDN/drivers/isdn/hardware/mISDN/Makefile
cp /usr/src/mISDN/drivers/isdn/mISDN/Makefile.v2.6 /usr/src/mISDN/drivers/isdn/mISDN/Makefile
export MINCLUDES=/usr/src/mISDN/include ; export MISDNVERSION=1_2_0; make -C /lib/modules/2.6.28.8/build SUBDIRS=/usr/src/mISDN/drivers/isdn/mISDN modules CONFIG_MISDN_DSP=m CONFIG_MISDN_MEMDEBUG=y CONFIG_MISDN_HFCMULTI=m CONFIG_MISDN_HFCPCI=m CONFIG_MISDN_HFCUSB=m CONFIG_MISDN_XHFC=m CONFIG_MISDN_L1OIP=m CONFIG_MISDN_L1LOOP=m CONFIG_MISDN=m
make[1]: Entering directory `/usr/src/linux-2.6.28.8'
CC [M] /usr/src/mISDN/drivers/isdn/mISDN/l1oip_core.o
/usr/src/mISDN/drivers/isdn/mISDN/l1oip_core.c: In function âchannel_dctrlâ:
/usr/src/mISDN/drivers/isdn/mISDN/l1oip_core.c:973: error: âMISDN_CTRL_GETPEERâ undeclared (first use in this function)
/usr/src/mISDN/drivers/isdn/mISDN/l1oip_core.c:973: error: (Each undeclared identifier is reported only once
/usr/src/mISDN/drivers/isdn/mISDN/l1oip_core.c:973: error: for each function it appears in.)
/usr/src/mISDN/drivers/isdn/mISDN/l1oip_core.c: In function âinit_cardâ:
/usr/src/mISDN/drivers/isdn/mISDN/l1oip_core.c:1450: error: too many arguments to function âmISDN_register_deviceâ
make[2]: *** [/usr/src/mISDN/drivers/isdn/mISDN/l1oip_core.o] Error 1
make[1]: *** [_module_/usr/src/mISDN/drivers/isdn/mISDN] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.28.8'
make: *** [all] Error 2
######################################################################################################

A question (maybe stupid): during the kernel recompilation process, do I need to enable the mISDN support (building it as a module) or this is not required?

Regards - Daniele
14 years 11 months ago #3203 by james.zhu
hello,
I think you misses something in the file. you have to try to download the new zip files.
james.zhu

14 years 11 months ago #3204 by pastoreerrante
James, I solved this issue.

The problem was the kernel with no mISDN support. I rebuilt 3 kernels in my CentOS.

- 2.6.28.8 (no mISDN support)
- 2.6.29.3 (no mISDN support)
- 2.6.29.3 (with mISDN support)

As I switched to the last one, the mISDN compilation was successful.

Thank you - Daniele

i] Last edited by pastoreerrante at 2009-5-18 19:27 [/i
Time to create page: 0.054 seconds
Powered by Kunena Forum